﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<Response>
  <Header>
    <Status>
     <%
       ModelState err = ViewContext.ViewData.ModelState["err"];
       com.IronOne.BoardAppWeb.Controllers.GenException result = null;

       if (err != null)
       {
           result = (com.IronOne.BoardAppWeb.Controllers.GenException)err.Errors.ElementAt(0).Exception;  %>
          <code><%: result.Code%></code>
          <description><%: com.IronOne.BoardAppWeb.Lang.Resources.ResourceManager.GetString(result.Code)%></description>  
       <%}
       else
       { %>
         <code>0</code>
         <description>Success</description>
         <ProductVersion><%: ViewData["ProductVersion"]%></ProductVersion> 
       <%} %> 
    </Status>
    <Tracking>
      <ServerTime><%=DateTime.Now%></ServerTime>
    </Tracking>
  </Header>
  <Data>
    <SupportInfo><%: ViewData["SupportInfo"]%></SupportInfo>
  </Data>
</Response>